home *** CD-ROM | disk | FTP | other *** search
- Increments or extends values of variables.
-
- INCR [+ | -]var [BY {number | string}]
-
- [+|-]var is the name of a variable possibly preceded by a plus
- or minus sign. INCR uses the sign to decide whether to
- operate at the end or at the beginning of the string
- contained in var.
- number is a signed integral number which INCR adds to var when
- var is numeric. When var is not numeric and the number is
- positive, INCR appends/prepends spaces to var (when
- the number is negative, INCR removes characters instead).
- string is a non-numeric string. INCR appends/prepends it to var
- regardless of whether var is numeric or not.
-
- Defaults: "INCR var" is equivalent to "INCR +var BY 1"
-